ASP.Net non-standard output
Closed this issue · 4 comments
In ASP.Net applications, MSBUILD generates all dlls and pdbs in TargetDir, but project.FileName is like "{TargetDir}\bin\mainAssembly.dll" for main assembly dll and pdb.
@tom-englert fixed the source file location, removing the hard-coded "bin", but this folder is here to indicate to VS how to deploy the web application : when publishing the web application puts effectively every dll and pdb files into a bin subfolder (eg : {TargetDir}\bin\everydlls.dll).
I'll implement a "non standard output" detection when removing "bin" from the source path, to add it automatically when generating FileComponents in wix file.
I tried your fix, but second-tier references are not going into bin but only in targetdir.
My implementation in my last pull request differs from yours, but is working as expected.
You can choose to implement it the way you want :)
Regards