I suggest you ...

Would be very helpful if C# expanded macros used in the "Output path" setting for a project (VC++ does)

18 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Scott McFaddenScott McFadden shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Peter PressaccoPeter Pressacco commented  ·   ·  Flag as inappropriate

        **BE ADVISED** If you use a text editor set the set the <OutputPath> to $(SolutionDir)\bin\Debug it will appear as ..\..\..\bin\Debug in Visual Studio 2013. The good news is, the macro will remain intact and everything will work as expected. If you make any changes to the `Output Path:` in Visual Studio... then the macro will be deleted.

      • AndreAndre commented  ·   ·  Flag as inappropriate

        Since both languages use MSBuild for both languages environment variables (macros) can be used in output pathes.

        It's the C# project editor which converts non alphanumeric characters. If you enter the path with an environment variable by editing the C# project with notepad everything (seems) to work fine.

      Feedback and Knowledge Base