GithubHelp home page GithubHelp logo

Comments (6)

3F avatar 3F commented on June 3, 2024

Original comment by Denis Kuzmin (Bitbucket: 3F, GitHub: 3F):


@WebDucer wrote in "Version 0.8 (direct message)" that all is working

from vssolutionbuildevent.

3F avatar 3F commented on June 3, 2024

Original comment by Denis Kuzmin (Bitbucket: 3F, GitHub: 3F):


@WebDucer please test 4ca1bcf and report me

from vssolutionbuildevent.

3F avatar 3F commented on June 3, 2024

Original comment by Denis Kuzmin (Bitbucket: 3F, GitHub: 3F):


Patch for Issue #14 & trivial fix in MSBuildParser

from vssolutionbuildevent.

3F avatar 3F commented on June 3, 2024

Original comment by Denis Kuzmin (Bitbucket: 3F, GitHub: 3F):


found the probable cause

e.g. for AnyCPU platform:

in .csproj we have the next condition for PropertyGroup (where problem is reproduced):

#!xml

  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <PlatformTarget>AnyCPU</PlatformTarget>
  </PropertyGroup>

and.. that is:

#!c#

dteProject.ConfigurationManager.ActiveConfiguration.PlatformName

contains Platform as a 'Any CPU' from EnvDTE !

MS Connect Issue #503935 - MSBuild inconsistent platform for "Any CPU" between solution and project:

holy hedgehogs -_-' fix is coming soon

from vssolutionbuildevent.

3F avatar 3F commented on June 3, 2024

Original comment by Denis Kuzmin (Bitbucket: 3F, GitHub: 3F):


yes, problem with OutputPath

but I don't know, why is so ะพ_ะž vsSBE provide only wrapper.. problems with initialize objects of Microsoft.Build.Evaluation

i.e. i can fix this, however...

from vssolutionbuildevent.

3F avatar 3F commented on June 3, 2024

Original comment by Denis Kuzmin (Bitbucket: 3F, GitHub: 3F):


#!c#

+ [157] "OutDir"="" ["$(OutputPath)"] Microsoft.Build.Evaluation.ProjectProperty {Microsoft.Build.Evaluation.ProjectProperty.ProjectPropertyXmlBacked}

problem can be with $(OutputPath) before evaluating the OutDir

/ similar: comment-11696239

In ProjectNode of part Microsoft.VisualStudio.Project:

#!c#

string outputPath = this.GetOutputPath(this.currentConfig);
if (!String.IsNullOrEmpty(outputPath))
{
    // absolutize relative to project folder location
    outputPath = Path.Combine(this.ProjectFolder, outputPath);
}

...

public virtual void PrepareBuild(string config, bool cleanBuild)
{
    ...
    string outputPath = Path.GetDirectoryName(options.OutputAssembly);
    ...
}

from vssolutionbuildevent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.