|
I notice that when I run a Python program within the Visual Studio 2019 IDE there is a bit of a delay before I see the output.
Does anyone care to speculate on why this is?
|
|
|
|
|
Member 12974235 wrote:
Does anyone care to speculate on why this is? Compile time, launching the exe, getting debug info, hooking up the debugger.
Otherwise, sunspots, dwarves and voodoo.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
I got if figured out. You need to run your program with CTRL+F5 so you don't add debugging.
|
|
|
|
|
The whole point of running it inside Visual Studio is so that you can use debugging. If you just want the Release version then run it from Explorer or a command prompt instead
|
|
|
|
|
That is a question for Microsoft, I have to say, you can check here on this, uservoice supporters 1 - Developer Community
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Hi
SSIS 2010
How do you please stop the commas or delete the commas..when sending data from a dB source SQL to a flat file txt file please
Just using col1 col2 col3 as column names
Table name is Recipe
Chicken,mushroom,cheese
I wish to have
Chicken mushroom cheese
Basically a space instead of comma
Please help?
modified 21-May-19 16:29pm.
|
|
|
|
|
Where does this text come from, and how are you accessing it?
|
|
|
|
|
Flat File Connection Manager[^]
You have to select a different separator in the Columns page. Tabulation may be adequate, or some other character of which you are sure it cannot appear in stored strings.
noop()
|
|
|
|
|
VS2017:
I've created a project template from a MVC5 project, and then used it to create a new project. I can't find out how to modify the template's start page (the tab that's displayed when the project has been created).
Is "start page" even what it's called?
Right now, I'm seeing the standard ASP.Net page, but I'd like to provide something more appropriate for the template.
Edit ==============================
I discovered that the page/tab can be called up by clicking the "Project | Overview" menu item, so I guess it's called the "overview". I still haven't been able to find out how to create one for your custom project template.
Edit #2 ===========================
I looked at a console app project, and the Project | Overview menu item is not available for it. It looks like this is only for MVC/ASP.Net apps.
I still want to do a custom one if it's not too much hassle.
EDIT #3 ===========================
Weirdness - all of the referenced assemblies had the yellow warning triangle icon. I did a clean/build, and the triangles resolved themselves, but when I ran the app, I got an exception regarding "Roslyn". I stopped debugging, came here to add this edit, and wanted to copy the precise exception message, but when i clean/rebuild and ran the app again, it worked as expected.
EDIT #4 ===========================
I found out that VS2015 creates a readme.HTML page and displays that in the IDE when you create a new project. However, VS2017 does not. I've looked in the registry, the csproj and sln files, the .vstemplate file, and even the files in the hidden "vs" folder. I'm stumped.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
modified 13-May-19 13:55pm.
|
|
|
|
|
Well, I thinnk I fingered it out, but I have to wait until I get home from work to try it.
In VS2015, I created a new MVC app from the MS template, and it created a "Project_Readme.html" file in the project root, and opened the file using the VS2015 internal browser.
VS2017 does NOT create this file (the cause is either the latest MVC5 template, or VS2017 itself - my bet is on the template). I'm going to try creating the file manually, create a new template, and then create a project from the template.
I will report back with my findings.
RESULT =============
Fail.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
modified 14-May-19 5:33am.
|
|
|
|
|
|
That looks promising. My google foo is suffering from major suckage lately.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I think Google's suffering from major suckage lately. They only seem to return results for what they think you meant to search for, rather than what you actually searched for.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I've been googling this on/off for the last four days. :/
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I had to do the following (in VS2015)
0) Create the desired file in the project you're going to export to a template.
1) Export the template.
2) Shut down Visual Studio.
3) Extract the .vstemplate file from the template.zip file.
4) Add the OpenInBrowser="true" attribute to the appropriate ProjectItem element.
5) Copy the change .vstemplate file back into BOTH copies of the template ZIP file.
6) Restart Visual Studio, and create a new project to see if it worked.
I haven't figured out how to redisplay the file without doing Browse With... and selecting the internal web browser.
I'll try it on VS2017 later today.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Works on VS2017 as well, but still, when I click the View | Overview mene item, I still get MS's ASP.Net propaganda page... :/
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I think it's a task masquerading as a tab.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
how to backup and restore ms sql database using visual studio 2015 and connection string is ADODB. Thanks
|
|
|
|
|
|
Good afternoon
I hope all well
I converted MATLAB code to Visual studio 2017 community. But I want to convert this MATLAB code.
%Simulation
open_system('Linear_Interp');
SimOut = sim('Linear_Interp','ReturnWorkspaceOutputs','on');
%Variables Readings
N = SimOut.get('N');
BDKpN = SimOut.get('BDKpN');
BDKiN = SimOut.get('BDKiN');
t = SimOut.get('tout');
%Plots the graphics of variables of interest
figure(1)
hold on
plot(t,N,'b','linewidth',2)
ylabel('N (RPM)','FontSize',24);
xlabel('Time (s)', 'FontSize', 24);
grid on
hold off
Therefore, what should I use to plot graph in Visual studio? I am a beginner in VS.
Thanks a lot
|
|
|
|
|
|
How to add icon/picture/image in top level menu(Tab) Ribbon
|
|
|
|
|
|
Can someone help me how I can get C:\test\ folder's subfolders and theirs last written date in two differents column with listview component? Or give me some code tips?
|
|
|
|
|
Code it up for one column; then we'll tell you how to add an extra one. Otherwise, use a data grid, or a user control as the list item.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|