Questions tagged [common-project-system]

The Common Project System is the new project system used for .NET Core projects, and Visual Studio 2017. See also "Roslyn Project System"

9 questions
9
votes
3 answers

WPF controls not recognized in code-behind when using new CSPROJ format

I've created a WPF application using the new CSPROJ format in Visual Studio 2017. By setting the LanguageTargets, setting the generator for XAML files, setting the build action for App.Xaml, and forcing the debug executable I can successfully…
RB.
  • 36,301
  • 12
  • 91
  • 131
5
votes
1 answer

In a VS 2017 custom project system, how can I make a project item bold in the Solution Explorer?

I'm writing a project system extension for VS 2017, and each project in my language has one file that's the "startup file". I want that file to appear bold in the Solution Explorer. Python Tools for VS does what I'm looking for, but my extension is…
3
votes
1 answer

Is my .csproj using the .NET project-system or the Common Project System

I was reading through the documentation on the .NET foundation's GitHub repository for the .NET project-system and saw that the latest system used to run C# projects on Visual Studio is the new Project System by default; however, as the older…
1
vote
1 answer

Visual Studio 2022 ignores BaseIntermediateOutputPath property specified in project files

I have a solution containing a large number of projects. To separate binaries from the sources, I changed BaseOutputPath to "..\bin" and BaseIntermediateOutputPath property in all projects to "..\obj". It worked for the BaseOutputPath - all binaries…
Harry
  • 4,524
  • 4
  • 42
  • 81
1
vote
2 answers

Enumerate Files in a .csproj (dotnet core)

I am working on a build tool in C# that should work with Visual Studio / MSBuild. I want to enumerate all files that are part of a C# project. The project format is the new (.NET Core) .csproj. The documentation describing the Project System points…
Jacob Foshee
  • 2,704
  • 2
  • 29
  • 48
1
vote
0 answers

Installing NuGet packages and resolving references with a custom project type using Common Project System

I am creating a project type using Visual Studio Common Project System and hooked up the NuGet package manager. However, when I install a package it fails with the following error: Attempting to gather dependency information for package…
Manny
  • 426
  • 4
  • 11
1
vote
1 answer

Load CPS project in integrated shell

I have a custom language and debug editor extension for Visual studio, that I'd like to be able to distribute using the visual studio integrated shell. However, I am unable to open the custom project files using the integrated shell…
0
votes
1 answer

"Reference manager" missing in custom project type (in VS IsolatedShell)

I'm working on a VS IsolatedShell 2015 application; my current goal is to enable project references. However when right-clicking the 'references' node in a project there are basically no options available, most notably for my case the reference…
0
votes
1 answer

VSIX Project - Properties tool window extension

There might be something wrong with the way I search for things but here is my problem. I'm looking for a way to implement a custom editing tool within the properties tool window in the Visual Studio editor. I've been looking through several…