Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. msbuild with no Visual Studio (Yes Windows SDK installed & Copy Local=true)

msbuild with no Visual Studio (Yes Windows SDK installed & Copy Local=true)

Scheduled Pinned Locked Moved ASP.NET
visual-studiohelpcsharpasp-netcom
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    devvvy
    wrote on last edited by
    #1

    A project gets built fine from Visual Studio without a problem from developers work station. Now we need to move it to DEV and UAT server. I've been struggling all day trying to get my ASP.NET project built with msbuild on a server with no Visual Studio installed (dev tools not permitted on servers) -

    The type or namespace name 'Optimization' does not exist in the namespace 'System.Web'
    The type or namespace name 'DotNetOpenAuth' could not be found

    Couple attempts were made: 1. Install Windows SDK (http://msdn.microsoft.com/en-US/windows/hardware/hh852363) - appears there has been a lot of discussions from another Stackoverflow post (Couple relevant posts from Stackoverflow did not help[^]). You'd also need to add to environment variables PATH C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\ C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools (This did NOT help) 2: gacutil to install the dll's? (no vs command prompt - as said, no dev tool/Visual Studio permitted on server) 3: copy the dlls' to (i.e. same folder as MSBuild.exe): C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\ (This did NOT help) 4: Copy local = true (This did NOT help - the dll's apparent msbuild can't find already in bin folder of the ASP.NET application) It appears to be a bug with msbuild - http://social.msdn.microsoft.com/Forums/vstudio/en-US/434abf1a-30db-4b13-8062-13755898dd71/msbuild-is-unable-to-link-to-a-webapplication-project?forum=msbuild Anyone has experience with this? Thanks

    dev

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups