Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 6 > BOOK: C# 24-Hour Trainer 2nd Edition
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: C# 24-Hour Trainer 2nd Edition
This is the forum to discuss the Wrox book C# 24-Hour Trainer, 2nd Edition by Rod Stephens; ISBN: 978-1-119-06566-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: C# 24-Hour Trainer 2nd Edition section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 7th, 2017, 05:37 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Sep 2017
Location: Seattle
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Executable after running debug.

Hi, I'm just starting this book, Enjoying it! Got a question though. In the first chapter it is mentioned that after running debug in VS, you can located the executable in Explorer and double click on it... but that won't work on "other machines". I am wondering, has this behavior changed in later versions of Visual Studio? When I double click on the executable, I get this:

"This application can only run in the context of an app container".
Reply With Quote
  #2 (permalink)  
Old September 8th, 2017, 02:02 PM
Rod Stephens's Avatar
Wrox Author
Points: 3,166, Level: 23
Points: 3,166, Level: 23 Points: 3,166, Level: 23 Points: 3,166, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jan 2006
Location: , , .
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts

Hi Banjo,

Sorry about that. The short answer is that the newer Universal (UWP) apps are intended to be installed as apps so they can only run inside an app container. That means you need to run them either in the Visual Studio development environment, or you can install them as apps via the App Store.

That book deals mostly with Windows Forms and to a lesser extent WPF applications. Those kinds of programs create an executable that you can run by double-clicking on the local machine.

Sorry about the confusion!

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem running code in debug mode rslotpole@gmail.com BOOK: Professional Java for Web Applications 2 August 31st, 2016 05:21 AM
running executable with VB6 nasirmunir Beginning VB 6 24 November 16th, 2007 04:12 PM
Running executable file Promod333 Visual Basic 2005 Basics 1 September 7th, 2007 10:15 AM
Executable - From Server KennethMungwira VB.NET 0 July 20th, 2006 02:33 PM
Creating an executable Arsi C# 1 November 9th, 2004 06:45 PM

All times are GMT -4. The time now is 05:19 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.