Forums: [SOLVED] Getting source files to copy from custom business template to new project - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[SOLVED] Getting source files to copy from custom business template to new project Rate Topic: -----

#1 User is offline   Pete K 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 269
  • Joined: 05-February 16
  • Gender:Male

Posted 04 June 2019 - 03:38 PM

I'm working on creating a standard business template to use as a starting point for new projects for my organization. I've got it mostly working except for one thing. I have a couple of files I'd like to include in my new projects. One is an additional .config file which should go in the app root and the other is a custom .cs class which should go in the /include folder.

In the past when I've set up new projects without a business template, I would put the config file in the project /source folder and the class file in /source/include and it worked perfectly. I tried putting the files in the same folders in the template folder structure in /source, but that did not result in the files being copied to the new project as expected.

Where should I place these files within the template structure get them into the project /source folder?


----------------------------------------------------------
Pete K.
Lead Web Developer
Fayette County Public Schools | Lexington, Kentucky, USA
0

#2 User is offline   jadach 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 467
  • Joined: 26-April 08
  • Gender:Male
  • Location:New York

Posted 05 June 2019 - 12:43 AM

Just curious. Are you using a project you created then saving as a template?
-jerry
0

#3 User is offline   admin 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 16451
  • Joined: 03-February 03
  • Gender:Male

Posted 07 June 2019 - 03:06 PM

Are those files making it to the output folder?

When you create a project from the template or add template to the project additional template files will reside in <project folder>\business\<template name>\source folder. They should make it all way to the output folder from there.
Best regards,
Sergey Kornilov
0

#4 User is offline   Pete K 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 269
  • Joined: 05-February 16
  • Gender:Male

Posted 07 June 2019 - 04:32 PM

View Postjadach, on 04 June 2019 - 08:43 PM, said:

Just curious. Are you using a project you created then saving as a template?

Yes.





----------------------------------------------------------
Pete K.
Lead Web Developer
Fayette County Public Schools | Lexington, Kentucky, USA
0

#5 User is offline   Pete K 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 269
  • Joined: 05-February 16
  • Gender:Male

Posted 07 June 2019 - 04:34 PM

View Postadmin, on 07 June 2019 - 11:06 AM, said:

Are those files making it to the output folder?

When you create a project from the template or add template to the project additional template files will reside in <project folder>\business\<template name>\source folder. They should make it all way to the output folder from there.


Ah, I see. Thanks Sergey. I wasn't being patient enough.





----------------------------------------------------------
Pete K.
Lead Web Developer
Fayette County Public Schools | Lexington, Kentucky, USA
0

#6 User is offline   admin 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 16451
  • Joined: 03-February 03
  • Gender:Male

Posted 07 June 2019 - 08:27 PM

This change was mainly designed to prevent files from different business templates mixing together or even overwriting each other.
Best regards,
Sergey Kornilov
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users