I have a problem with Visual Studio 2017 Enterprise. When I want to publish a Nuget package, I can only do it with a .Net Standard class library project. I can't do this with .Net Framework class library project. perhaps I'm missing a dependance but I don't know which one. If you could help me. Thank you very much
Asked
Active
Viewed 337 times
1 Answers
0
Thanks for your reply, I found the solution. In fact it is necessary to do this:
- create a .Net project Standard class library,
- close the project,
go into the .csproj file and replace the item
<TargetFramework>netstandard1.4</TargetFramework>
by the element<TargetFramework>net461</TargetFramework>
reopen the project and we should be able to publish its class library
link : How do I create a Nuget package with Visual Studio 2017

loustalet
- 72
- 1
- 9
-
1thanks for sharing your solution here, you could mark it as the answer, so it could help other community members who get the same issues. – Leo Liu Sep 29 '17 at 02:08