Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use framework #40

Closed
OlivlfilipeOliveira opened this issue Nov 21, 2019 · 7 comments
Closed

Use framework #40

OlivlfilipeOliveira opened this issue Nov 21, 2019 · 7 comments

Comments

@OlivlfilipeOliveira
Copy link

For me to use the framework I need to install it in VS Code or Visual Studio, correct? But I'm trying to install via nuget and I can't. I would like an orientation, an installation tutorial or something. Thanks for listening!

@danpere
Copy link
Contributor

danpere commented Nov 21, 2019

You should be able to open the sample solutions in this repository in Visual Studio and run them. I just cloned the repo on my machine and did so with the latest Visual Studio 2019. I was also able to build them using dotnet build WranglingSamples.sln. Both will automatically get the packages from NuGet. That should give you a starting place to work from.

If that's not working for you, then we'll need more details about what's not working to help you.

@OlivlfilipeOliveira
Copy link
Author

You should be able to open the sample solutions in this repository in Visual Studio and run them. I just cloned the repo on my machine and did so with the latest Visual Studio 2019. I was also able to build them using dotnet build WranglingSamples.sln. Both will automatically get the packages from NuGet. That should give you a starting place to work from.

If that's not working for you, then we'll need more details about what's not working to help you.

this happened here when I followed what you said:

Screenshot from 2019-11-22 10-12-14

@danpere
Copy link
Contributor

danpere commented Nov 22, 2019

I assume from that screenshot that you're on Linux? (If not, following the link that error message gives should fix the issue, I assume.) Our samples have the target framework set to net45 which is Windows-only. They should run just fine on .NET Core, so I'll see if we can change that. You can change it yourself by going into the .csproj files and changing the <TargetFramework> line to target .netcoreapp2.1 or .netcoreapp2.2 instead of net45. (Here's the documentation on the valid options.). BTW, there's currently a bug that will be fixed in the next release that makes .netcoreapp3.0 not work.

@OlivlfilipeOliveira
Copy link
Author

I assume from that screenshot that you're on Linux? (If not, following the link that error message gives should fix the issue, I assume.) Our samples have the target framework set to net45 which is Windows-only. They should run just fine on .NET Core, so I'll see if we can change that. You can change it yourself by going into the .csproj files and changing the <TargetFramework> line to target .netcoreapp2.1 or .netcoreapp2.2 instead of net45. (Here's the documentation on the valid options.). BTW, there's currently a bug that will be fixed in the next release that makes .netcoreapp3.0 not work.

I changed the net45 to .netcoreapp2.2 and still giving error as shown in the screenshot.
 
So if I urge on windows will it work? I tried another day and gave the same error as the previous screenshot.
Captura de Tela_Área de Seleção_20191127015201

@danpere
Copy link
Contributor

danpere commented Nov 27, 2019

That appears to be the error saying .NET Framework 4.5 support isn't installed which is what I get when I try to build the current version of the samples on Linux, so maybe you missed something? I made the change in the feature/netcore-support branch on my fork of the repo and was able to successfully build and run the samples on Linux and Mac.

@OlivlfilipeOliveira
Copy link
Author

That appears to be the error saying .NET Framework 4.5 support isn't installed which is what I get when I try to build the current version of the samples on Linux, so maybe you missed something? I made the change in the feature/netcore-support branch on my fork of the repo and was able to successfully build and run the samples on Linux and Mac.

continued the same mistake... :(

@danpere
Copy link
Contributor

danpere commented Dec 2, 2019

continued the same mistake... :(

I'm sorry. I don't understand what you're trying to say. Could you explain in more detail?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants