top of page
Search
crisatagexma

Visual Studio 2010 Portable: Create and Compile C# Projects without Installation



Of course portable class libraries affect the build process, as well. Again, if you have at least Visual Studio 2012 or Windows SDK for Windows 8 installed on your build server, you don't need to worry. If you only have Visual Studio 2010 or .NET 4 SDK, the build will fail with a rather non-descriptive error:


Installing the above mentioned .NET framework updates of course doesn't have any effect, since they include only the runtime bits. Neither does it help to install .NET 4.0.3 Targeting Pack. To build .NET 4 projects, which reference portable class libraries, Portable Library Tools are required. Installing them from Visual Studio 2010 or from command line finally ensures a successful build.




Visual Studio 2010 Portable



  • End-to-end solution to meet demanding quality and scale needs of teams of all sizesLearn more .fusion-button.button-5 border-radius:1px;Free trialif (jQuery(".button-1").length > 0) jQuery(".button-1") .attr("data-bi-name", "vs_win_download_community") .attr("data-bi-id", "Footer download") .attr("data-bi-bhvr", "40") .attr("data-bi-dlnm", "Community 2022") .attr("data-bi-dlid", "download_visual_studio") .attr("data-bi-dltype", "software installer");if (jQuery(".button-2").length > 0) jQuery(".button-2") .attr("data-bi-id", "Footer download") .attr("data-bi-name", "vs_win_download_professional") .attr("data-bi-bhvr", "40") .attr("data-bi-dlnm", "Professional 2022") .attr("data-bi-dlid", "download_visual_studio") .attr("data-bi-dltype", "software installer");if (jQuery(".button-3").length > 0) jQuery(".button-3") .attr("data-bi-id", "Footer download") .attr("data-bi-name", "vs_win_download_enterprise") .attr("data-bi-bhvr", "40") .attr("data-bi-dlnm", "Enterprise 2022") .attr("data-bi-dlid", "download_visual_studio") .attr("data-bi-dltype", "software installer");if (jQuery(".vscom-swimlane--final-cta a span.vscom-link-text:contains(Learn more)").length > 0) jQuery(".vscom-swimlane--final-cta a span.vscom-link-text:contains(Learn more)").closest("a") .attr("data-bi-id", "Footer download") .attr("data-bi-name", "Learn more"); window.performance && performance.mark && performance.mark("MainAreaEnd") var domReadyScripts =["handle":"vscom","src":"https:\/\/visualstudio.microsoft.com\/wp-content\/plugins\/vscom-core\/assets\/js\/vscom.min.js","ver":1667498184,"deps":["classlist-polyfill"],"handle":"classlist-polyfill","src":"https:\/\/visualstudio.microsoft.com\/wp-content\/themes\/Avada-Child-Theme\/assets\/js\/classList.min.js","ver":1667498206,"handle":"vscom-express-select-js","src":"https:\/\/visualstudio.microsoft.com\/wp-content\/plugins\/vscom-fusion-extension\/js\/vscom-express-select.min.js","ver":1667498194];var VSCOM_Language = "dropdown":"English\u7b80\u4f53\u4e2d\u6587 (Chinese, Simplified)\u7e41\u9ad4\u4e2d\u6587 (Chinese, Traditional)Fran\u00e7aisDeutschItaliano\u65e5\u672c\u8a9e (Japanese)\u0420\u0443\u0441\u0441\u043a\u0438\u0439 (Russian)Espa\u00f1ol\u010ce\u0161tina\ud55c\uad6d\uc5b4 (Korean)polskiPortugu\u00eas (Brasil)T\u00fcrk\u00e7e";var microsoftUhfSettings = "loginUrl":"https:\/\/app.vsaex.visualstudio.com\/go\/profile?wt.mc_id=omsftvscomvssignin","logoutUrl":"https:\/\/app.vssps.visualstudio.com\/_signout?mkt=en-us&_ga=1.265116815.1812220160.1467138837","profileEndpoint":"https:\/\/app.vssps.visualstudio.com\/_apis\/profile\/profiles\/me","clientId":"d03813425c8362d0","label_profile":"Visual Studio profile","connectionDataEndpoint":"https:\/\/app.vssps.visualstudio.com\/_apis\/connectionData","ga":"vsid_dimension":"dimension12";body--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--duotone--dark-grayscale: url('#wp-duotone-dark-grayscale');--wp--preset--duotone--grayscale: url('#wp-duotone-grayscale');--wp--preset--duotone--purple-yellow: url('#wp-duotone-purple-yellow');--wp--preset--duotone--blue-red: url('#wp-duotone-blue-red');--wp--preset--duotone--midnight: url('#wp-duotone-midnight');--wp--preset--duotone--magenta-yellow: url('#wp-duotone-magenta-yellow');--wp--preset--duotone--purple-green: url('#wp-duotone-purple-green');--wp--preset--duotone--blue-orange: url('#wp-duotone-blue-orange');--wp--preset--font-size--small: 9.75px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 19.5px;--wp--preset--font-size--x-large: 42px;--wp--preset--font-size--normal: 13px;--wp--preset--font-size--xlarge: 26px;--wp--preset--font-size--huge: 39px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;:where(.is-layout-flex)gap: 0.5em;body .is-layout-flow > .alignleftfloat: left;margin-inline-start: 0;margin-inline-end: 2em;body .is-layout-flow > .alignrightfloat: right;margin-inline-start: 2em;margin-inline-end: 0;body .is-layout-flow > .aligncentermargin-left: auto !important;margin-right: auto !important;body .is-layout-constrained > .alignleftfloat: left;margin-inline-start: 0;margin-inline-end: 2em;body .is-layout-constrained > .alignrightfloat: right;margin-inline-start: 2em;margin-inline-end: 0;body .is-layout-constrained > .aligncentermargin-left: auto !important;margin-right: auto !important;body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull))max-width: var(--wp--style--global--content-size);margin-left: auto !important;margin-right: auto !important;body .is-layout-constrained > .alignwidemax-width: var(--wp--style--global--wide-size);body .is-layout-flexdisplay: flex;body .is-layout-flexflex-wrap: wrap;align-items: center;body .is-layout-flex > *margin: 0;:where(.wp-block-columns.is-layout-flex)gap: 2em;.has-black-colorcolor: var(--wp--preset--color--black) !important;.has-cyan-bluish-gray-colorcolor: var(--wp--preset--color--cyan-bluish-gray) !important;.has-white-colorcolor: var(--wp--preset--color--white) !important;.has-pale-pink-colorcolor: var(--wp--preset--color--pale-pink) !important;.has-vivid-red-colorcolor: var(--wp--preset--color--vivid-red) !important;.has-luminous-vivid-orange-colorcolor: var(--wp--preset--color--luminous-vivid-orange) !important;.has-luminous-vivid-amber-colorcolor: var(--wp--preset--color--luminous-vivid-amber) !important;.has-light-green-cyan-colorcolor: var(--wp--preset--color--light-green-cyan) !important;.has-vivid-green-cyan-colorcolor: var(--wp--preset--color--vivid-green-cyan) !important;.has-pale-cyan-blue-colorcolor: var(--wp--preset--color--pale-cyan-blue) !important;.has-vivid-cyan-blue-colorcolor: var(--wp--preset--color--vivid-cyan-blue) !important;.has-vivid-purple-colorcolor: var(--wp--preset--color--vivid-purple) !important;.has-black-background-colorbackground-color: var(--wp--preset--color--black) !important;.has-cyan-bluish-gray-background-colorbackground-color: var(--wp--preset--color--cyan-bluish-gray) !important;.has-white-background-colorbackground-color: var(--wp--preset--color--white) !important;.has-pale-pink-background-colorbackground-color: var(--wp--preset--color--pale-pink) !important;.has-vivid-red-background-colorbackground-color: var(--wp--preset--color--vivid-red) !important;.has-luminous-vivid-orange-background-colorbackground-color: var(--wp--preset--color--luminous-vivid-orange) !important;.has-luminous-vivid-amber-background-colorbackground-color: var(--wp--preset--color--luminous-vivid-amber) !important;.has-light-green-cyan-background-colorbackground-color: var(--wp--preset--color--light-green-cyan) !important;.has-vivid-green-cyan-background-colorbackground-color: var(--wp--preset--color--vivid-green-cyan) !important;.has-pale-cyan-blue-background-colorbackground-color: var(--wp--preset--color--pale-cyan-blue) !important;.has-vivid-cyan-blue-background-colorbackground-color: var(--wp--preset--color--vivid-cyan-blue) !important;.has-vivid-purple-background-colorbackground-color: var(--wp--preset--color--vivid-purple) !important;.has-black-border-colorborder-color: var(--wp--preset--color--black) !important;.has-cyan-bluish-gray-border-colorborder-color: var(--wp--preset--color--cyan-bluish-gray) !important;.has-white-border-colorborder-color: var(--wp--preset--color--white) !important;.has-pale-pink-border-colorborder-color: var(--wp--preset--color--pale-pink) !important;.has-vivid-red-border-colorborder-color: var(--wp--preset--color--vivid-red) !important;.has-luminous-vivid-orange-border-colorborder-color: var(--wp--preset--color--luminous-vivid-orange) !important;.has-luminous-vivid-amber-border-colorborder-color: var(--wp--preset--color--luminous-vivid-amber) !important;.has-light-green-cyan-border-colorborder-color: var(--wp--preset--color--light-green-cyan) !important;.has-vivid-green-cyan-border-colorborder-color: var(--wp--preset--color--vivid-green-cyan) !important;.has-pale-cyan-blue-border-colorborder-color: var(--wp--preset--color--pale-cyan-blue) !important;.has-vivid-cyan-blue-border-colorborder-color: var(--wp--preset--color--vivid-cyan-blue) !important;.has-vivid-purple-border-colorborder-color: var(--wp--preset--color--vivid-purple) !important;.has-vivid-cyan-blue-to-vivid-purple-gradient-backgroundbackground: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;.has-light-green-cyan-to-vivid-green-cyan-gradient-backgroundbackground: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-backgroundbackground: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;.has-luminous-vivid-orange-to-vivid-red-gradient-backgroundbackground: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;.has-very-light-gray-to-cyan-bluish-gray-gradient-backgroundbackground: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;.has-cool-to-warm-spectrum-gradient-backgroundbackground: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;.has-blush-light-purple-gradient-backgroundbackground: var(--wp--preset--gradient--blush-light-purple) !important;.has-blush-bordeaux-gradient-backgroundbackground: var(--wp--preset--gradient--blush-bordeaux) !important;.has-luminous-dusk-gradient-backgroundbackground: var(--wp--preset--gradient--luminous-dusk) !important;.has-pale-ocean-gradient-backgroundbackground: var(--wp--preset--gradient--pale-ocean) !important;.has-electric-grass-gradient-backgroundbackground: var(--wp--preset--gradient--electric-grass) !important;.has-midnight-gradient-backgroundbackground: var(--wp--preset--gradient--midnight) !important;.has-small-font-sizefont-size: var(--wp--preset--font-size--small) !important;.has-medium-font-sizefont-size: var(--wp--preset--font-size--medium) !important;.has-large-font-sizefont-size: var(--wp--preset--font-size--large) !important;.has-x-large-font-sizefont-size: var(--wp--preset--font-size--x-large) !important;.wp-block-navigation a:where(:not(.wp-element-button))color: inherit;:where(.wp-block-columns.is-layout-flex)gap: 2em;.wp-block-pullquotefont-size: 1.5em;line-height: 1.6;.wp-block-audio figcaptioncolor:#555;font-size:13px;text-align:center.is-dark-theme .wp-block-audio figcaptioncolor:hsla(0,0%,100%,.65).wp-block-audiomargin:0 0 1em.wp-block-codeborder:1px solid #ccc;border-radius:4px;font-family:Menlo,Consolas,monaco,monospace;padding:.8em 1em.wp-block-embed figcaptioncolor:#555;font-size:13px;text-align:center.is-dark-theme .wp-block-embed figcaptioncolor:hsla(0,0%,100%,.65).wp-block-embedmargin:0 0 1em.blocks-gallery-captioncolor:#555;font-size:13px;text-align:center.is-dark-theme .blocks-gallery-captioncolor:hsla(0,0%,100%,.65).wp-block-image figcaptioncolor:#555;font-size:13px;text-align:center.is-dark-theme .wp-block-image figcaptioncolor:hsla(0,0%,100%,.65).wp-block-imagemargin:0 0 1em.wp-block-pullquoteborder-top:4px solid;border-bottom:4px solid;margin-bottom:1.75em;color:currentColor.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footercolor:currentColor;text-transform:uppercase;font-size:.8125em;font-style:normal.wp-block-quoteborder-left:.25em solid;margin:0 0 1.75em;padding-left:1em.wp-block-quote cite,.wp-block-quote footercolor:currentColor;font-size:.8125em;position:relative;font-style:normal.wp-block-quote.has-text-align-rightborder-left:none;border-right:.25em solid;padding-left:0;padding-right:1em.wp-block-quote.has-text-align-centerborder:none;padding-left:0.wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote.is-style-plainborder:none.wp-block-search .wp-block-search__labelfont-weight:700.wp-block-search__buttonborder:1px solid #ccc;padding:.375em .625em:where(.wp-block-group.has-background)padding:1.25em 2.375em.wp-block-separator.has-css-opacityopacity:.4.wp-block-separatorborder:none;border-bottom:2px solid;margin-left:auto;margin-right:auto.wp-block-separator.has-alpha-channel-opacityopacity:1.wp-block-separator:not(.is-style-wide):not(.is-style-dots)width:100px.wp-block-separator.has-background:not(.is-style-dots)border-bottom:none;height:1px.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots)height:2px.wp-block-tablemargin:"0 0 1em 0".wp-block-table theadborder-bottom:3px solid.wp-block-table tfootborder-top:3px solid.wp-block-table td,.wp-block-table thword-break:normal.wp-block-table figcaptioncolor:#555;font-size:13px;text-align:center.is-dark-theme .wp-block-table figcaptioncolor:hsla(0,0%,100%,.65).wp-block-video figcaptioncolor:#555;font-size:13px;text-align:center.is-dark-theme .wp-block-video figcaptioncolor:hsla(0,0%,100%,.65).wp-block-videomargin:0 0 1em.wp-block-template-part.has-backgroundpadding:1.25em 2.375em;margin-top:0;margin-bottom:0var sliderBackgrounds = []; What's new Surface Pro 9

  • Surface Laptop 5

  • Surface Studio 2+

  • Surface Laptop Go 2

  • Surface Laptop Studio

  • Surface Go 3

  • Microsoft 365

  • Windows 11 apps

  • Microsoft Store Account profile

  • Download Center

  • Microsoft Store support

  • Returns

  • Order tracking

  • Virtual workshops and training

  • Microsoft Store Promise

  • Flexible Payments

  • Education Microsoft in education

  • Devices for education

  • Microsoft Teams for Education

  • Microsoft 365 Education

  • Education consultation appointment

  • Educator training and development

  • Deals for students and parents

  • Azure for students

  • Business Microsoft Cloud

  • Microsoft Security

  • Dynamics 365

  • Microsoft 365

  • Microsoft Power Platform

  • Microsoft Teams

  • Microsoft Industry

  • Small Business

  • Developer & IT Azure

  • Developer Center

  • Documentation

  • Microsoft Learn

  • Microsoft Tech Community

  • Azure Marketplace

  • AppSource

  • Visual Studio

  • Company Careers

  • About Microsoft

  • Company news

  • Privacy at Microsoft

  • Investors

  • Diversity and inclusion

  • Accessibility

  • Sustainability

  • English (United States) California Consumer Privacy Act (CCPA) Opt-Out Icon Your California Privacy Choices California Consumer Privacy Act (CCPA) Opt-Out Icon Your California Privacy Choices Contact us Privacy & cookies Manage cookies Terms of use Trademarks About our ads Microsoft 2023

var ccpaElement = document.querySelector('.c-uhff-ccpa'); try var resolvedTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone; var timeZones = ['America/Los_Angeles', 'US/Pacific']; var showLink = timeZones.find(function (zone) return resolvedTimeZone === zone; ); if (showLink) ccpaElement.classList.remove('x-hidden'); catch ccpaElement.classList.remove('x-hidden'); Feedback 2ff7e9595c


0 views0 comments

Recent Posts

See All

Opmerkingen


bottom of page