CsprojToVs2017 | converting pre project to the new Visual Studio | Code Editor library
kandi X-RAY | CsprojToVs2017 Summary
kandi X-RAY | CsprojToVs2017 Summary
Tooling for converting pre 2017 project to the new Visual Studio 2017 format.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of CsprojToVs2017
CsprojToVs2017 Key Features
CsprojToVs2017 Examples and Code Snippets
Community Discussions
Trending Discussions on CsprojToVs2017
QUESTION
There's some great tools for converting the old CSPROJ format to the new CSPROJ format, such as this one. The new format supports things like direct references to NuGet packages and other cool stuff.
However, how do you create a brand new project in Visual Studio 2017 or Visual Studio 2019? If I create a .NET library project:
Then this project is created in the old format and has to be upgraded using the tool again. Can anyone shed some light on what projects support the new format vs. the old format?
...ANSWER
Answered 2019-Oct-24 at 19:42The new CSPROJ is used by .NET Core and automatically created when creating new .NET Core project.
The trick that I have uses to to create a new style .NET Framework under Rider is (as suggested by a colleague):
- create a .NET Core project
- switch it to a .NET Framework
I think that this works only under VS.
QUESTION
I've inherited a VS-2015 C# application and would like to migrate it to VS 2017 or 2019. It has a packages.config file with 4 packages:
...ANSWER
Answered 2019-Aug-20 at 21:31According to the documentation:
Migration is not currently available for C++ and ASP.NET projects.
The migration (through right-clicking on the packages file) works fine for console applications for example.
QUESTION
I am trying to use migrate-2017 to migrate some csproj files to the new more concise vs2017 project format. I installed the tool from https://github.com/hvanbakel/CsprojToVs2017 using the command:
...ANSWER
Answered 2019-Apr-23 at 22:36I don't think you're missing anything, but here's a few things to try:
- Does running
dotnet-migrate-2017
work (no dotnet required first)? - Does the tool exist under
%userprofile%\.dotnet\tools
? - Have you tried restarting the command prompt to force refresh your
%PATH%
? - Have you tried uninstalling and reinstalling the package?
QUESTION
I am building a .NET WPF application, which was previously targeting .NET 4.6.1.
I have used this tool to convert my previous .csproj into the new Package-Reference csproj style of VS2017.
I have also updated the target framework to .NET 4.7.1.
The issue is that my main project references other projects from my solution, and each of those fails when I declare using namespace;
When I was using the previous csproj style projects, my main project was successfully referencing my other projects inside my solution but it does not anymore.
I have tried disabling ReSharper and I've even checkout the sources to a from scratch Windows installation and I got the same thing.
The weird thing is I got many errors from Intellisense, but everything builds perfectly!
I am running out of idea...
The solution sources are here.
...ANSWER
Answered 2018-May-04 at 04:19Start with this basic advice: When you have a using statement, you're citing a namespace. In order for that namespace to be resolved, the project in question must have a reference to an assembly or project that contains that namespace. The fact that your DownloadService.cs
code module shows that it cannot resolve the Popcorn.Utils namespace tells me that the project that contains DownloadService.cs
does not have a reference to the project or assembly that contains Popcorn.Utils.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install CsprojToVs2017
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page