官术网_书友最值得收藏!

  • Learn C# in 7 days
  • Gaurav Aroraa
  • 229字
  • 2021-07-08 09:51:23

Deep-dive into application using Visual Studio

In the previous section, you learned about various things that our console application can contain. In this section, lets deep-dive to get more insight on this using Visual Studio.

To get started, go to the project properties. Do this from the solution explorer (right-click on project and click on Properties) or from menus (Project | Day02 properties); you will get the project properties window, as shown in the following screenshot:

On the Application tab, we can set the Assembly name, the Default namespace, the Target framework, and the Output type (the output types are Console Application, Windows Application, Class Library).

The following screenshot is that of the Build tab:

From the Build tab, we can set Conditional compilation symbols, Platform target, and other available options.

Conditional compilations are nothing but pre-processors, which we will discuss on day six.

The following screenshot depicts the Package tab:

The Package tab helps us directly create NuGet packages. In the earlier version, we needed a lot of configuration settings to build a NuGet package. In the current version, we just need to provide the information on the Package tab, and Visual Studio will generate the NuGet package according to our options. The Debug tab, Signing, and Resources tabs are self-explanatory and provide us with a way to sign assemblies and support to embed resources in our program.

主站蜘蛛池模板: 当阳市| 高台县| 鹤岗市| 土默特左旗| 鹤山市| 栾川县| 固阳县| 博野县| 宕昌县| 陇南市| 成都市| 延津县| 从江县| 英山县| 肇源县| 思南县| 通城县| 东城区| 城口县| 乌兰察布市| 镶黄旗| 宣汉县| 高阳县| 灵山县| 墨玉县| 酒泉市| 乌鲁木齐县| 阿勒泰市| 睢宁县| 寻乌县| 垫江县| 西乡县| 界首市| 云阳县| 鹤山市| 灵宝市| 南阳市| 娄底市| 玉树县| 南木林县| 大城县|