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

Test case for #1196 #1197

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danhol86
Copy link

I have the following properties set in my csproj file.

Exe net45 $(MSBuildThisFileDirectory)=C:\MyNewPath full

When the project builds, the exe file has a reference to the PDB file, but uses the new PathMap instead of the actual location of PDB during build.

However when I install any Fody plugin such as PropertyChanged, this PathMap no longer is being used and the exe/dll uses the actual location of the PDB instead of what is defined in PathMap.

I have setup 2 tests in PdbTest project. Both exactly the same, except one has PropertyChanged plugin.

The only way I could get this to work how I wanted, was to set the PdbPath manually in the csproj. However this removed the link to the PDB completely and stops debugging working.

Thanks

@ltrzesniewski ltrzesniewski changed the title . Test case for #1196 Jul 28, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants