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

  • 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.

主站蜘蛛池模板: 白银市| 鹤峰县| 加查县| 海淀区| 广灵县| 独山县| 桂东县| 灯塔市| 会泽县| 永川市| 光泽县| 调兵山市| 图片| 纳雍县| 定远县| 六安市| 晋州市| 东源县| 阿尔山市| 宁远县| 化州市| 沙河市| 开封县| 中宁县| 迁西县| 威宁| 深州市| 延庆县| 图木舒克市| 新昌县| 方山县| 射阳县| 吴川市| 北安市| 衡东县| 富宁县| 易门县| 会同县| 龙海市| 密山市| 新干县|