Skip to content

Passing properties with multiple values stops woring with net7 RC1 - 7.0.100-rc.1.22431.12 #28131

@noxe

Description

@noxe

Issue Description

Hi - in our csproj files use use custom properties for additional AssemblySearchPaths, see below where we added $(ReferencePath).

$(AssemblySearchPaths);$(ReferencePath);$(OutputPath);$(OutputPath)\Server

Now we start a build an pass in the ReferencePath:

dotnet.exe build test.sln --configuration Release /property:ReferencePath="C:\123;C:\456"

with NET6 - when doing an verbose build - we get this:

     SearchPaths:
         {CandidateAssemblyFiles}
         {HintPathFromItem}
         {TargetFrameworkDirectory}
         {RawFileName}
         C:\123
         C:\456

now with NET7 RC1 SDK - we get this:

     SearchPaths:
         {CandidateAssemblyFiles}
         {HintPathFromItem}
         {TargetFrameworkDirectory}
         {RawFileName}
         C:\123;C:\456

See the values are not split anymore - and the paths are not working? Any info about this behaviour?

thx

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions