tom-englert/Wax

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.

That is already fixed for #13: b49c60a - or is there another issue I did not see?

It was not really "non standard output", but wrong interpretation of these file names - it's the target dir, and all references just have to follow this, while the source is just the file name without folder.

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

Fixed with commit 0d1a824