4 instantiations of InvalidProjectDataException
Microsoft.VisualStudio.LanguageServices (2)
ProjectSystem\CPS\IWorkspaceProjectContextFactory.cs (2)
76throw new InvalidProjectDataException(name, value, $"Property '{name}' is required."); 86throw new InvalidProjectDataException(name, value, $"Property '{name}' is required to be an absolute path, but the value is '{value}'.");
Microsoft.VisualStudio.LanguageServices.Implementation (2)
ProjectSystem\CPS\CPSProjectFactory.cs (2)
158throw new InvalidProjectDataException(itemName, joinedValues, $"Item group '{itemName}' is required to specify a single value: '{joinedValues}'."); 174throw new InvalidProjectDataException(itemName, values[0], $"Item group '{itemName}' is required to specify an absolute path or a path relative to the directory containing the project: '{values[0]}'.");
4 references to InvalidProjectDataException
Microsoft.VisualStudio.LanguageServices (2)
ProjectSystem\CPS\IWorkspaceProjectContextFactory.cs (2)
54/// <exception cref="InvalidProjectDataException"> 65/// <exception cref="InvalidProjectDataException">
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (2)
ProjectSystemShim\CPS\CSharpCompilerOptionsTests.cs (2)
111await Assert.ThrowsAsync<InvalidProjectDataException>(() => CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test2", binOutputPath: "")); 112await Assert.ThrowsAsync<InvalidProjectDataException>(() => CSharpHelpers.CreateCSharpCPSProjectAsync(environment, "Test3", binOutputPath: "Test.dll"));