1 00:00:00,630 --> 00:00:01,800 Hello and welcome. 2 00:00:01,860 --> 00:00:07,590 In this lecture we are going to build the finished project. 3 00:00:07,590 --> 00:00:15,210 So far we have been running the project inside the test environment within Visual Studio. 4 00:00:15,240 --> 00:00:19,040 So what we're going to do this time is build it. 5 00:00:19,050 --> 00:00:25,340 We're going to run it outside of vision to you via the DOT EMC 6 00:00:28,860 --> 00:00:32,310 or case or less build the application. 7 00:00:32,310 --> 00:00:34,770 There is an option here called built. 8 00:00:34,860 --> 00:00:35,580 Just click on that. 9 00:00:35,670 --> 00:00:37,800 And there are several options. 10 00:00:37,830 --> 00:00:48,120 The first option which is a build solution you use that option basically to compile only those project 11 00:00:48,120 --> 00:00:58,140 files and components that have changed since the most recent build a solution can have several projects. 12 00:00:58,160 --> 00:01:04,860 So here we've got a solution that's only got one project but is possible for a solution to have several 13 00:01:04,980 --> 00:01:05,920 projects. 14 00:01:05,970 --> 00:01:14,490 So use this option if you only want to build or compile project files and components that have changed 15 00:01:14,970 --> 00:01:17,910 since the last or most recent build. 16 00:01:17,910 --> 00:01:24,990 So every time we'll run the application in debug mode or we tested a builder he has to compile and build 17 00:01:24,990 --> 00:01:27,410 the application before it can run it. 18 00:01:27,420 --> 00:01:35,430 So this option if you click this it will only compile or build what has changed if not in us change. 19 00:01:35,430 --> 00:01:37,960 It does nothing on that hood. 20 00:01:38,190 --> 00:01:48,970 This option here to rebuild if you choose the option you choose that to give you a clean. 21 00:01:49,830 --> 00:01:50,510 OK. 22 00:01:50,550 --> 00:01:56,940 This will clean the solution and then build all the project files and components. 23 00:01:56,970 --> 00:02:05,250 So you want the option that's the option you have to select and then you've got the clean solution the 24 00:02:05,250 --> 00:02:06,780 clean solution. 25 00:02:06,780 --> 00:02:16,080 Basically you choose the clean solution to delete any intermediate and output files with only the project 26 00:02:16,170 --> 00:02:18,550 on components files left. 27 00:02:18,570 --> 00:02:28,650 So new instances of the intermediate and output files can then be built this here basically similar 28 00:02:28,650 --> 00:02:32,630 to this three but specific to the projects. 29 00:02:33,170 --> 00:02:33,570 OK. 30 00:02:33,580 --> 00:02:39,660 But it's identical through this three here because a solution can have several projects to suggest one 31 00:02:39,660 --> 00:02:42,800 project within the solution public. 32 00:02:42,810 --> 00:02:46,440 Basically if you want to publish it to Web sites or something. 33 00:02:46,470 --> 00:02:50,550 So what we're gonna do we gonna click on this option here. 34 00:02:50,610 --> 00:02:54,600 Build my music player. 35 00:02:54,600 --> 00:03:04,980 So our click on this to build it and it should tell you here the output note is that by using that option 36 00:03:05,550 --> 00:03:12,090 if it thinks that nothing has changed since the last time the application was built or compiled it does 37 00:03:12,090 --> 00:03:15,700 nothing on daddy who you don't see that it tells you here. 38 00:03:15,810 --> 00:03:20,840 Zero build succeeded zero failed one up to date. 39 00:03:20,940 --> 00:03:29,310 So which means that the current build the system has is up to date so nothing has to be done. 40 00:03:29,400 --> 00:03:31,800 Nothing has changed since the last built. 41 00:03:31,890 --> 00:03:37,620 So what we then have to do we now need to access the DOT XY so the way we do that. 42 00:03:37,650 --> 00:03:45,690 So while do the way you do that you click on you go to my documents and you go to visual studio. 43 00:03:46,710 --> 00:03:50,880 You click on projects you click on your project. 44 00:03:50,880 --> 00:03:53,130 This is a project you click on. 45 00:03:53,310 --> 00:04:03,630 This again and you click on the bin and click debug within debug they see Dot XY file which dot examines 46 00:04:03,670 --> 00:04:09,310 means executable file that you can run that will run the application. 47 00:04:09,310 --> 00:04:15,600 What I'm gonna do I'm gonna save this to my desktop as a shortcut. 48 00:04:15,600 --> 00:04:17,550 So you're right click and do. 49 00:04:17,550 --> 00:04:22,500 This should be sent to desktop and create a shortcut. 50 00:04:22,520 --> 00:04:23,520 So that's what I'm doing. 51 00:04:24,180 --> 00:04:25,740 So I'll send it to my desktop. 52 00:04:25,740 --> 00:04:31,270 So what I'm going to do I'm actually going to exit Visual Studio. 53 00:04:31,270 --> 00:04:32,530 I'll click exit. 54 00:04:33,620 --> 00:04:34,360 OK. 55 00:04:34,410 --> 00:04:35,880 And you should see. 56 00:04:37,740 --> 00:04:41,700 So this is a shortcut to the application. 57 00:04:41,730 --> 00:04:47,060 I've got visual studio closed so now I can run it as a standalone application. 58 00:04:47,130 --> 00:04:50,750 Just double click on it and it gives me the application. 59 00:04:50,760 --> 00:04:53,390 I just browse and pick a file. 60 00:04:53,400 --> 00:04:57,620 I click here and go to the sample file and just click that. 61 00:04:59,200 --> 00:05:01,530 So I said pause it. 62 00:05:01,530 --> 00:05:04,440 Stop it exit. 63 00:05:04,470 --> 00:05:05,610 Thank you so much. 64 00:05:05,610 --> 00:05:12,080 So we have now built the standalone application for our project. 65 00:05:12,090 --> 00:05:13,320 Thanks for watching. 66 00:05:13,320 --> 00:05:14,080 Bye for now.