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 without Visual Studio: The type or namespace name 'xxx' does not exist in the namespace 'xxx'

msbuild without Visual Studio: The type or namespace name 'xxx' does not exist in the namespace 'xxx'

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.
  • S Offline
    S Offline
    Swab Jat
    wrote on last edited by
    #1

    hello there, a project gets built fine from Visual Studio without a problem from developers work station. Now we need to more 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 attemps were made 1: Install Windows SDK - appears there has been a lot of discussions from Stackoverflow (Related but not exactly)[^]. You'd also need to ddd 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[^] Anyone has experience with this?

    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