-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
VB compiler incorrectly parses paths in /embed
switch containing ,
#30586
Comments
/embed
switch containing ,
/embed
switch containing ,
What is the expected behavior here? |
Not treat |
See also #31611 which talks about the |
OK, so that one was a dupe of this. But this issue is becoming more important IMO because of the recommendation to embed untracked source files in the portable PDB. I can get a new VB project to repro the failure just by adding two lines: <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<RootNamespace>b</RootNamespace>
<TargetFramework>netcoreapp2.2</TargetFramework>
+ <EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>
<ItemGroup>
+ <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="All" />
</ItemGroup>
</Project> |
Both
vbc /debug:portable program.vb /embed:a,b.vb
andvbc /debug:portable program.vb /embed:"a,b.vb"
result in errors:
This issue is not limited to command line. The problem is also with
vbc
task:This is a problem since .NET SDK uses comma in generated file name:
.NETStandard,Version=v2.0.AssemblyAttributes.vb
The text was updated successfully, but these errors were encountered: