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

Add gestures for manipulating csproj project files #436

Closed
DustinCampbell opened this issue Jun 14, 2016 · 11 comments
Closed

Add gestures for manipulating csproj project files #436

DustinCampbell opened this issue Jun 14, 2016 · 11 comments

Comments

@DustinCampbell
Copy link
Member

DustinCampbell commented Jun 14, 2016

Currently, manipulating a csproj file can be painful. Adding or removing files and references has to be done manually by editing the project file itself. Additionally, it should be easy to do this in a code-centric way by providing a light bulb to add missing packages.

@DustinCampbell DustinCampbell added this to the future milestone Jun 14, 2016
@DustinCampbell DustinCampbell modified the milestones: 1.2-rtm, future, 1.0.0-rtm Jun 14, 2016
@borgdylan
Copy link

Would this be just for .csproj or will it allow registration of other msbuild based projects?

@DustinCampbell DustinCampbell self-assigned this Sep 20, 2016
@DustinCampbell
Copy link
Member Author

Currently the plan is just for .csproj. It's related to the work to move over to MSBuild-based .NET Code projects.

@borgdylan
Copy link

By other, I meant projects that are .NET based but not written in C# i.e. use other compilers that target the CLR/CoreCLR.

@DustinCampbell
Copy link
Member Author

No, that's not a goal. This extension only provides C# support for VS Code.

@borgdylan
Copy link

Would it be possible to have an option to treat other project files as csproj?

@DustinCampbell
Copy link
Member Author

Could you be a bit more specific? What sorts of projects are you asking for?

@borgdylan
Copy link

Csproj like projects that do not have a .csproj extension. A VB project for instance. I am only expecting support for the parts of the file that are like a csproj.

@borgdylan
Copy link

I.e. in the case of vbproj I do not expect actual VB support, just the help in manipulating the XML for adding dependencies etc.

@borgdylan
Copy link

Project.json was nice as it had he same file name for all projects regardless of compiler. It's a shame that tools can chose to support just csproj when csproj , vbproj mynetlangproj etc. would all have the same structure and only vary in what language targets file they use.

@DustinCampbell
Copy link
Member Author

Unfortunately, this is not in the plans for the C# extension for now. The work to manipulate the csproj file will likely be handled within the OmniSharp process, which specifically only understands C#. That is, the work to manipulate project files will not likely be handled in a language-neutral way by simple manipulation of XML text. For VB support, definitely add your vote to #25.

@DustinCampbell DustinCampbell modified the milestones: 1.7, 1.6 Dec 14, 2016
@DustinCampbell DustinCampbell modified the milestones: 1.8, 1.7 Feb 3, 2017
@DustinCampbell DustinCampbell modified the milestones: 1.8, 1.9 Mar 8, 2017
@DustinCampbell DustinCampbell removed this from the 1.9 milestone Apr 11, 2017
@JoeRobich
Copy link
Member

If these are added, they would be part of the C# DevKit. Also recommend using the dotnet CLI from the terminal.

@JoeRobich JoeRobich closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants