What is the equivalent of Visual Studio Configuration Manager in Visual Studio Code?What does the Visual Studio “Any CPU” target mean?Visual Studio: How to properly build and specify the configurations and platforms for x64 and x86Multiple cursors in Visual Studio CodeVertical rulers in Visual Studio Code?How to customize the tab-to-space conversion factor?How do you format code in Visual Studio Code (VSCode)How do I collapse sections of code in Visual Studio Code for Windows?How do I duplicate a line or selection within Visual Studio Code?What are the differences between Visual Studio Code and Visual Studio?How to navigate back to the last cursor position in Visual Studio Code?

How could artificial intelligence harm us?

Can the U.S. president make military decisions without consulting anyone?

What is a Heptagon Number™?

Asking an expert in your field that you have never met to review your manuscript

How do I clean sealant/silicon from a glass mirror?

As an employer, can I compel my employees to vote?

I feel like most of my characters are the same, what can I do?

Norwegian refuses EU delay (4.7 hours) compensation because it turned out there was nothing wrong with the aircraft

Would Taiwan and China's dispute be solved if Taiwan gave up being the Republic of China?

In a jam session, when asked which key my non-transposing instrument (like a violin) is in, what do I answer?

Social leper versus social leopard

How to reference parameters outside of Apex Class that can be configured by Administrator

How to deal with my team leader who keeps calling me about project updates even though I am on leave for personal reasons?

Algorithm that spans orthogonal vectors: Python

Why does NASA publish all the results/data it gets?

How use custom order in folder on Windows 7 and 10

What was an "insurance cover"?

Cheap antenna for new HF HAM

Why are some of the Stunts in The Expanse RPG labelled 'Core'?

How is underwater propagation of sound possible?

Writing a letter of recommendation for a mediocre student

How to make interviewee comfortable interviewing in lounge chairs

As a discovery writer, how do I complete an unfinished novel (which has highly diverged from the original plot ) after a time-gap?

What can a pilot do if an air traffic controller is incapacitated?



What is the equivalent of Visual Studio Configuration Manager in Visual Studio Code?


What does the Visual Studio “Any CPU” target mean?Visual Studio: How to properly build and specify the configurations and platforms for x64 and x86Multiple cursors in Visual Studio CodeVertical rulers in Visual Studio Code?How to customize the tab-to-space conversion factor?How do you format code in Visual Studio Code (VSCode)How do I collapse sections of code in Visual Studio Code for Windows?How do I duplicate a line or selection within Visual Studio Code?What are the differences between Visual Studio Code and Visual Studio?How to navigate back to the last cursor position in Visual Studio Code?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I build an app using Visual Studio Code and get the error "Cognitive Services Speech SDK doesn't support 'Any CPU' as a platform". I try various things but cannot get it to compile.



I build the same app using Visual Studio 2017 and get the same error which I easily fix by changing the platform to from AnyCPU to x64 in the Configuration Manager.



So, what is the equivalent of Configuration Manager in Visual Studio Code so I can fix the problem there too?



I tried setting the target platform in the .csproj and in the build command in Visual Studio Code but still get the error.










share|improve this question
































    1















    I build an app using Visual Studio Code and get the error "Cognitive Services Speech SDK doesn't support 'Any CPU' as a platform". I try various things but cannot get it to compile.



    I build the same app using Visual Studio 2017 and get the same error which I easily fix by changing the platform to from AnyCPU to x64 in the Configuration Manager.



    So, what is the equivalent of Configuration Manager in Visual Studio Code so I can fix the problem there too?



    I tried setting the target platform in the .csproj and in the build command in Visual Studio Code but still get the error.










    share|improve this question




























      1












      1








      1








      I build an app using Visual Studio Code and get the error "Cognitive Services Speech SDK doesn't support 'Any CPU' as a platform". I try various things but cannot get it to compile.



      I build the same app using Visual Studio 2017 and get the same error which I easily fix by changing the platform to from AnyCPU to x64 in the Configuration Manager.



      So, what is the equivalent of Configuration Manager in Visual Studio Code so I can fix the problem there too?



      I tried setting the target platform in the .csproj and in the build command in Visual Studio Code but still get the error.










      share|improve this question
















      I build an app using Visual Studio Code and get the error "Cognitive Services Speech SDK doesn't support 'Any CPU' as a platform". I try various things but cannot get it to compile.



      I build the same app using Visual Studio 2017 and get the same error which I easily fix by changing the platform to from AnyCPU to x64 in the Configuration Manager.



      So, what is the equivalent of Configuration Manager in Visual Studio Code so I can fix the problem there too?



      I tried setting the target platform in the .csproj and in the build command in Visual Studio Code but still get the error.







      build visual-studio-code compilation vscode-tasks






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 25 at 1:28









      Stephen Kennedy

      8,85513 gold badges58 silver badges78 bronze badges




      8,85513 gold badges58 silver badges78 bronze badges










      asked Mar 28 at 15:02









      paulnesspaulness

      82 bronze badges




      82 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          0
















          Assuming you're using dotnet build as your command to build a dotnet application you will need to specify some additional command line args when running the command. Visual Studio essentially does the same when calling the compiler, but adds a nice UI to manage it in.



          dotnet build --runtime win10-x64



          The above would build for a x86 Windows 10 machine, we tell the compiler to do this with the --runtime flag and pass in a RID win10-x64, each environment you're building for will have a different RID (an example linux RID for example would be linux-x64).



          • You can read more about the dotnet compiler options here


          • Get a list of the RIDs supported here



          Build Configurations



          You say you're running the build command, so I assume that you're typing these into the console. But VS Code does give some additional niceness to managing environments through the tasks.json file.



          Here you can define a set of commands to run and save them as a configuration, then pick these through the UI. I won't go into too much detail as it's well documented, but here's a build config that would run the dotnet compiler with the x64 command!



          More info on VS Code Tasks




          "version": "2.0.0",
          "tasks": [

          "label": "build",
          "command": "dotnet",
          "type": "process",
          "args": [
          "build",
          "--runtime",
          "win10-x64"
          ],
          "problemMatcher": "$msCompile"

          ]



          Now when pressing Ctrl+Shift+B you will get a list of your configured build tasks!






          share|improve this answer
























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );














            draft saved

            draft discarded
















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55400835%2fwhat-is-the-equivalent-of-visual-studio-configuration-manager-in-visual-studio-c%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0
















            Assuming you're using dotnet build as your command to build a dotnet application you will need to specify some additional command line args when running the command. Visual Studio essentially does the same when calling the compiler, but adds a nice UI to manage it in.



            dotnet build --runtime win10-x64



            The above would build for a x86 Windows 10 machine, we tell the compiler to do this with the --runtime flag and pass in a RID win10-x64, each environment you're building for will have a different RID (an example linux RID for example would be linux-x64).



            • You can read more about the dotnet compiler options here


            • Get a list of the RIDs supported here



            Build Configurations



            You say you're running the build command, so I assume that you're typing these into the console. But VS Code does give some additional niceness to managing environments through the tasks.json file.



            Here you can define a set of commands to run and save them as a configuration, then pick these through the UI. I won't go into too much detail as it's well documented, but here's a build config that would run the dotnet compiler with the x64 command!



            More info on VS Code Tasks




            "version": "2.0.0",
            "tasks": [

            "label": "build",
            "command": "dotnet",
            "type": "process",
            "args": [
            "build",
            "--runtime",
            "win10-x64"
            ],
            "problemMatcher": "$msCompile"

            ]



            Now when pressing Ctrl+Shift+B you will get a list of your configured build tasks!






            share|improve this answer





























              0
















              Assuming you're using dotnet build as your command to build a dotnet application you will need to specify some additional command line args when running the command. Visual Studio essentially does the same when calling the compiler, but adds a nice UI to manage it in.



              dotnet build --runtime win10-x64



              The above would build for a x86 Windows 10 machine, we tell the compiler to do this with the --runtime flag and pass in a RID win10-x64, each environment you're building for will have a different RID (an example linux RID for example would be linux-x64).



              • You can read more about the dotnet compiler options here


              • Get a list of the RIDs supported here



              Build Configurations



              You say you're running the build command, so I assume that you're typing these into the console. But VS Code does give some additional niceness to managing environments through the tasks.json file.



              Here you can define a set of commands to run and save them as a configuration, then pick these through the UI. I won't go into too much detail as it's well documented, but here's a build config that would run the dotnet compiler with the x64 command!



              More info on VS Code Tasks




              "version": "2.0.0",
              "tasks": [

              "label": "build",
              "command": "dotnet",
              "type": "process",
              "args": [
              "build",
              "--runtime",
              "win10-x64"
              ],
              "problemMatcher": "$msCompile"

              ]



              Now when pressing Ctrl+Shift+B you will get a list of your configured build tasks!






              share|improve this answer



























                0














                0










                0









                Assuming you're using dotnet build as your command to build a dotnet application you will need to specify some additional command line args when running the command. Visual Studio essentially does the same when calling the compiler, but adds a nice UI to manage it in.



                dotnet build --runtime win10-x64



                The above would build for a x86 Windows 10 machine, we tell the compiler to do this with the --runtime flag and pass in a RID win10-x64, each environment you're building for will have a different RID (an example linux RID for example would be linux-x64).



                • You can read more about the dotnet compiler options here


                • Get a list of the RIDs supported here



                Build Configurations



                You say you're running the build command, so I assume that you're typing these into the console. But VS Code does give some additional niceness to managing environments through the tasks.json file.



                Here you can define a set of commands to run and save them as a configuration, then pick these through the UI. I won't go into too much detail as it's well documented, but here's a build config that would run the dotnet compiler with the x64 command!



                More info on VS Code Tasks




                "version": "2.0.0",
                "tasks": [

                "label": "build",
                "command": "dotnet",
                "type": "process",
                "args": [
                "build",
                "--runtime",
                "win10-x64"
                ],
                "problemMatcher": "$msCompile"

                ]



                Now when pressing Ctrl+Shift+B you will get a list of your configured build tasks!






                share|improve this answer













                Assuming you're using dotnet build as your command to build a dotnet application you will need to specify some additional command line args when running the command. Visual Studio essentially does the same when calling the compiler, but adds a nice UI to manage it in.



                dotnet build --runtime win10-x64



                The above would build for a x86 Windows 10 machine, we tell the compiler to do this with the --runtime flag and pass in a RID win10-x64, each environment you're building for will have a different RID (an example linux RID for example would be linux-x64).



                • You can read more about the dotnet compiler options here


                • Get a list of the RIDs supported here



                Build Configurations



                You say you're running the build command, so I assume that you're typing these into the console. But VS Code does give some additional niceness to managing environments through the tasks.json file.



                Here you can define a set of commands to run and save them as a configuration, then pick these through the UI. I won't go into too much detail as it's well documented, but here's a build config that would run the dotnet compiler with the x64 command!



                More info on VS Code Tasks




                "version": "2.0.0",
                "tasks": [

                "label": "build",
                "command": "dotnet",
                "type": "process",
                "args": [
                "build",
                "--runtime",
                "win10-x64"
                ],
                "problemMatcher": "$msCompile"

                ]



                Now when pressing Ctrl+Shift+B you will get a list of your configured build tasks!







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 29 at 10:16









                Dan GardnerDan Gardner

                2333 silver badges14 bronze badges




                2333 silver badges14 bronze badges





















                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.




















                    draft saved

                    draft discarded















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55400835%2fwhat-is-the-equivalent-of-visual-studio-configuration-manager-in-visual-studio-c%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현