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

Cannot build cdsproj if reference plugin project has dots (.) in .csproj name #1040

Open
lukesartain opened this issue Sep 12, 2024 · 0 comments

Comments

@lukesartain
Copy link

I have added a plugin project reference to my .cdsproj named similar to below, which includes dots.

<ItemGroup> <ProjectReference Include="..\Plugins\LS.Dataverse.Plugins.csproj" /> </ItemGroup>

When building the project I get the following error:

....nuget\packages\microsoft.powerapps.msbuild.solution\1.34.3\build\Microsoft.PowerApps.MSBuild.Solution.targets(137,5): error : Cannot find required file '...\SolutionName\obj\Debug\Metadata\PluginAssemblies\LSDataversePlugins-D7213E1E-F3E
B-4579-A6B9-6C9D433DD7EE\WHSDataversePlugins.dll'. [...\SolutionName\SolutionProjName.cdsproj]

Checking the metadata folder referenced in the error the plugin assembly found there is LS.Dataverse.Plugins-D7213E1E-F3E
B-4579-A6B9-6C9D433DD7EE\WHSDataversePlugins.dll (ie, with dots). If I remove dots from the cdsproj name it builds fine.

As a workaround I can revert to using a mapping file instead of adding plugin project as a reference but trying to keep builds as efficient as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant